﻿using Abp.Runtime.Session;

namespace NetCore.Authentication
{
    public interface INetCoreSession : IAbpSession
    {
        /// <summary>
        /// 机构Id
        /// </summary>
        int? OrganizationId { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        int? CompanyId { get; set; }
        /// <summary>
        /// 项目Id
        /// </summary>
        int? ProjectId { get; set; }

        ///// <summary>
        ///// 用户Id
        ///// </summary>
        //new long? UserId { get; set; }

        /// <summary>
        /// identityserver上给用户配置的特殊规则(角色)
        /// </summary>
        string UserRole { get; set; }

        /// <summary>
        /// 是否在调试状态
        /// </summary>
        bool Debug { get; set; }
    }
}
